package com.mc.main;

import java.util.EventObject;

/**
 * @author Sajox
 *
 */
public class UdpEvent extends EventObject{

	private static final long serialVersionUID = 1L;
	private byte[] data;
	
	/**
	 * @param source
	 */
	public UdpEvent(Object source, byte[] str) {
		super(source);
		setData(str);
	}

	private void setData(byte[] data) {
		this.data = data;
	}

	public byte[] getData() {
		return data;
	}
}
